package com.jader.activities;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.jader.util.JaderApplication;
import com.zlp.jader.R;

public class HelpActivity extends Activity {
	ImageView img_help_back;
	TextView tv_help_titile;
	Button btn_help;
	EditText ediText;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_help);
		initView();
	}

	private void initView() {
		tv_help_titile = (TextView) findViewById(R.id.top_actiobar_text);
		tv_help_titile.setText("个人设置");
		ediText = (EditText) findViewById(R.id.edit_help);
		btn_help = (Button) findViewById(R.id.btn_help);
		img_help_back = (ImageView) findViewById(R.id.top_actionbar_back);
		img_help_back.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				finish();
			}
		});
		btn_help.setOnClickListener(new OnClickListener() {

			@Override
			public void onClick(View v) {
				ediText.setText("");
				JaderApplication.show(getBaseContext(), "谢谢您的建议,我们会做的更好");
			}
		});
	}
}
